package com.sinochem.yunlian.ship.base.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 任务节点表
 * 
 * @author wh
 * @email ${email}
 * @date 2017-11-24 15:50:39
 */
@Table(name = "bs_node")
@Data
public class BsNode implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //任务节点id
    @Id
    private Long id;
	
	    //节点名称
    @Column(name = "node_name")
    private String nodeName;
	
	    //节点编码
    @Column(name = "node_code")
    private String nodeCode;
	
	    //节点状态(0:启用;1:禁用;)
    @Column(name = "status")
    private Integer status;
	
	    //节点分组
    @Column(name = "group_id")
    private Integer groupId;
	
	    //排序
    @Column(name = "seq_num")
    private Integer seqNum;

    //必填节点
    @Column(name = "required")
    private Integer required;
	
	    //节点类型(0:装货港任务;1:卸货港任务)
    @Column(name = "node_type")
    private Integer nodeType;

    @Column(name = "role_type")
    private Integer roleType;

    @Column(name = "is_auto")
    private Integer isAuto;

    @Column(name = "time_value")
    private String timeValue;
	
	    //删除状态(0:正常;1:已删除)
    @Column(name = "delete_status")
    private Integer deleteStatus;
	


}
